-
Home
-
WooCommerce
-
8.8.3 (latest)
-
Code
-
Classes
- ProductButton
Total Complexity |
35 |
Dependencies |
3 |
Dependents |
0 |
Total lines |
271 |
Lines of code |
177 |
Logical lines of code |
43 |
Comment lines |
67 |
Methods |
8 |
Properties |
1 |
Methods 8
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
render() |
C |
29 |
24 |
125 |
get_cart_item_quantities_by_product_id() |
S |
68 |
3 |
7 |
get_view_cart_html() |
S |
61 |
1 |
18 |
get_block_type_script() |
S |
66 |
2 |
8 |
enqueue_assets() |
S |
66 |
2 |
9 |
get_block_type_uses_context() |
S |
79 |
1 |
3 |
dequeue_add_to_cart_scripts() |
S |
81 |
1 |
3 |
prevent_cache() |
S |
77 |
1 |
4 |